//
//  TennisSetWebViewController.m
//  CoolTennisBall
//
//  Created by wsl on 16/1/26.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import "TennisSetWebViewController.h"

@implementation TennisSetWebViewController {
    
    __weak IBOutlet UIWebView *webView;
    
}

- (void)viewDidLoad {
    
    NSURLRequest *urlRequest = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:self.url]];
    
    [webView loadRequest:urlRequest];
    
    self.view.backgroundColor = [UIColor colorWithHex:0xf3f3f3];
    webView.backgroundColor = [UIColor colorWithHex:0xf3f3f3];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"sport_icon_blackbackArrow"] style:UIBarButtonItemStylePlain target:self action:@selector(back)];
}

- (void)back {
    [self.navigationController popViewControllerAnimated:YES];
}


@end
